#include <SDL.h>
#include "scr_game.h"
#include "scr_game_state_manager.h"
#include "scr_state_splash.h"
#include "scr_state_main_menu.h"

int main(int argc, char* args[])
{
	SCRGame::CreateInstance();

	SCRGame* pGame = SCRGame::GetInstance();

	if (pGame->Initialize())
	{
		pGame->GetStateManager()->Push<SCRStateSplash>();
		pGame->Run();
	}
	pGame->Terminate();

	SCRGame::DestroyInstance();

	return 0;
}
